Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class > DecodeAbic Method : DecodeAbic(Byte[],Int32,Int32,Int32,Boolean) Method |
'Declaration
Public Overloads Function DecodeAbic( _ ByVal inputData() As Byte, _ ByVal align As Integer, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal biLevel As Boolean _ ) As Byte()
'Usage
Dim instance As RasterCodecs Dim inputData() As Byte Dim align As Integer Dim width As Integer Dim height As Integer Dim biLevel As Boolean Dim value() As Byte value = instance.DecodeAbic(inputData, align, width, height, biLevel)
public byte[] decodeAbic(byte[] inputData, int align, int width, int height, boolean biLevel)
Call this method to decompress the input 1-bit bi-level or 4-bit grayscale ABIC data.
Use EncodeAbic to encode ABIC data.
The output buffer in the RasterNativeBuffer object returned is allocated automatically by this method. The user is responsible to free this unmanaged memory buffer by calling Marshal.FreeHGlobal as follows:
RasterNativeBuffer buffer = rasterCodecsObject.EncodeAbic(... // Use buffer Marshal.FreeHGlobal(buffer.Data);